package com.huilian.tool.work.weixin.dto;

import lombok.Data;

/**
 * @author ：yjzhang
 * @date ：Created in 2023/1/6 0006 10:23
 * @description：入群欢迎语素材
 * @version: 1.0
 */
@Data
public class GroupWelcome {

    private Text text;
    private Image image;
    private Link link;
    private Miniprogram miniprogram = new Miniprogram();
    private File file;
    private Video video;
    private String agentid;
    private Integer notify;

    @Data
    public class Text {
        private String content;
    }

    @Data
    public class Image {
        private String media_id;
        private String pic_url;
    }

    @Data
    public  class Link {
        private String title;
        private String picurl;
        private String desc;
        private String url;

    }
    @Data
    public class  Miniprogram {
        private String title;
        private String pic_media_id;
        private String appid;
        private String page;

    }

    @Data
    public  class File {
        private String media_id;
    }

    @Data
    public class Video {
        private String media_id;

    }

}